var net.confVal
19 uses
net (current package)
conf.go#L38: confVal = &conf{goos: runtime.GOOS}
conf.go#L44: return confVal
conf.go#L49: confVal.dnsDebugLevel = debugLevel
conf.go#L50: confVal.netGo = netGo || dnsMode == "go"
conf.go#L51: confVal.netCgo = netCgo || dnsMode == "cgo"
conf.go#L53: if confVal.dnsDebugLevel > 0 {
conf.go#L56: case confVal.netGo:
conf.go#L62: case confVal.forceCgoLookupHost:
conf.go#L74: confVal.forceCgoLookupHost = true
conf.go#L84: confVal.netCgo ||
conf.go#L86: confVal.forceCgoLookupHost = true
conf.go#L93: confVal.forceCgoLookupHost = true
conf.go#L98: confVal.nss = parseNSSConfFile("/etc/nsswitch.conf")
conf.go#L101: confVal.resolv = dnsReadConfig("/etc/resolv.conf")
conf.go#L102: if confVal.resolv.err != nil && !os.IsNotExist(confVal.resolv.err) &&
conf.go#L103: !os.IsPermission(confVal.resolv.err) {
conf.go#L108: confVal.forceCgoLookupHost = true
conf.go#L112: confVal.hasMDNSAllow = true
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)